package cn.tedu.warehouse.mapper;

import cn.tedu.warehouse.entity.Check;
import cn.tedu.warehouse.entity.Purchase;
import cn.tedu.warehouse.page.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckMapper {

    int savecheck(Check check);

    //分页查询采购单的方法
    public List<Check> selectCheckPage(@Param("page") Page page, @Param("check") Check check);


//单行查询采购单的方法
    int selectCheckCount(Check check);

    int updateCheck(Check check);


    int deleteCheck(Integer checkId);
}
